package com.vsoft.sms_cm;



import com.vsoft.framework.core.BaseException;


public interface ICacheObj<T> {

//	public  RedisProxy () throws BaseException;
	public void setId(int index,boolean bClear) throws BaseException;
	public void clear();
	public void put(String key, T val) throws BaseException;
	public T get(String key) throws BaseException;
	public void remove(String key);
	public String hmGet(String key,String field);
	public void setType(int iType);
	//add at 20121014 增加redis pipleline支持
	public void setPipeline(boolean flag)throws BaseException;
}
